
import operate from '@/common/api/operate.js'

import Request from '@/common/api/request.js'
let request = new Request().http

import {getPostInfo} from '@/common/api/http.js'


// 查询实时水位 接口
export function getWaterInfo(data) {
	data.serviceCode = "WATER_ST_WAS_RNEW";
	return getPostInfo(data)
	// return request({
	// 	url: 'POSTWebService',
	// 	method: 'POST',
	// 	data: data
	// });
}

// 查询单站水情 接口
export function getWaterDetails(data) {
	data.serviceCode = "WATER_ST_WAS_RDZNEW";
	return getPostInfo(data)
}

// 查询实时雨量 接口
export function getRainInfo(data) {
	data.serviceCode = "WATER_ST_PPTN_RNEW";
	return getPostInfo(data)
}

// 查询单站雨量 接口
export function getRainDetails(data) {
	data.serviceCode = "WATER_ST_PPTN_RDZNEW";
	return getPostInfo(data)
}


// 查询类型 接口
export function getRealType(data) {
	data.serviceCode = "WATER_ST_STBPRP_B_QU_TREEDG";
	return getPostInfo(data)
}


// 查询工情信息 接口
export function getgqInfo(data) {
	data.serviceCode = "WATER_ST_GATE_RNEWLIST";
	return getPostInfo(data)
}